//
//  detaileViewController.m
//  htmlTest
//
//  Created by lanou3g on 15/7/17.
//  Copyright (c) 2015年 lanou3g. All rights reserved.
//

#import "detaileViewController.h"

@interface detaileViewController ()
@property(nonatomic,retain)NSString *urlStr;
@end

@implementation detaileViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.urlStr = _htmlUrl;
    //创建一个webview用来承接网页
    UIWebView *everWebView = [[UIWebView alloc]initWithFrame:self.view.bounds];
    everWebView.backgroundColor = [UIColor colorWithRed:255/256.0 green:204/256.0 blue:204/256.0 alpha:1];
    [self.view addSubview:everWebView];
    
    NSURL *url = [NSURL URLWithString:_urlStr];
    [everWebView setScalesPageToFit:YES];
    [everWebView loadRequest:[NSURLRequest requestWithURL:url]];
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
   
}



@end
